package ClassHomeworkTest;

public class BookTest {
    public static void main(String[] args){
        Book book1 = new Book("C语言基础",234);
        String s1 = book1.detail();
        System.out.println(s1);
        book1.setPageNum(236);
        System.out.println(book1.getPageNum());
    }
}
